package com.ds;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

import com.ds.extend.importAware.EnableMyDb;

/**
 * 启动类
 *
 */
@SpringBootApplication
//@EnableScheduling
//@ServletComponentScan
@MapperScan("com.ds.dao")
public class SrartApp extends SpringBootServletInitializer
{
    public static void main( String[] args )
    {
    	ApplicationContext context = SpringApplication.run(SrartApp.class, args);
    }
    
}
